/*
 * Golosina.h
 *
 *  Created on: 23/10/2013
 *      Author: fernando
 */

#ifndef GOLOSINA_H_
#define GOLOSINA_H_

#include <string>
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL.h"



const int VIOLETA = 5;
const int AZUL = 4;
const int VERDE = 3;
const int AMARILLO = 2;
const int ROJO = 1;

class Golosina {
public:
	Golosina();
	virtual ~Golosina();
	void dibujar(SDL_Surface*);
	void setImagen();
	void handleInput(SDL_Event);
	void move();
	void setPosicion(unsigned int, unsigned int);
	unsigned int getPosX();
	unsigned int getPosY();
	SDL_Surface* getImagen();
	int getColor();

protected:
	int color;
	SDL_Surface* imagen;
	unsigned int posX;
	unsigned int posY;
};

#endif /* GOLOSINA_H_ */
